<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../../css/public.css" media="all" />
	<link rel="stylesheet" href="../../../css/index.css" media="all" />
</head>
<body class="childrenBody">
    <blockquote class="layui-elem-quote">
        <div class="layui-inline">
            <input type="text" id="key-value" lay-verify="required" placeholder="请输入任意关键字" autocomplete="off" class="layui-input">
        </div>
        <div class="layui-inline button-group" style="margin-left:5px">
            <button class="layui-btn active-btn" id="search-btn" style="background-color:#5FB878">主机搜索</button>
            <button class="layui-btn layui-btn-normal active-btn" id="fileUpload">文件上传</button>
            <button class="layui-btn active-btn">批量上传</button>
        </div>
    </blockquote>
    <table class="layui-hide" id="file-host-table" lay-filter="file-hostinfo"></table>


    <!-- 通过返回的数据判断主机的连接状态 -->
     <script type="text/html" id="connStatus">
        {{#  if(d.conn_status == 0){ }}
        <a class="layui-btn layui-btn-sm "><i class="layui-icon">&#xe616;</i>成功</a>
        {{#  } else { }}
        <a class="layui-btn layui-btn-danger layui-btn-sm "><i class="layui-icon">&#x1007;</i>失败</a>
        {{#  } }}
    </script>
      <script type="text/html" id="hide_passwd">
		{{#  if(d.login_pwd != ""){ }}
        	<a>******</a>
        {{#  } }}
	</script>
</body>
<script src="../../../layui/layui.js"></script>
<script src="./fileTransfer.js"></script>
<script src="../../../layui/jquery.js"></script>
<script src="../../../layui/ajaxfileupload.js"></script>
</html>